package com.compass.doctor.ui.home.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.compass.doctor.databinding.LayoutDoctorManagementItemBinding
import com.compass.framework.adapter.BaseBindViewHolder
import com.compass.framework.adapter.BaseRecyclerViewAdapter
import com.compass.framework.model.ArticleInfo

/**
 * Description： 团队医生--团队成员
 * Date:2023/12/23 15:37
 */
class DoctorManagementAdapter : BaseRecyclerViewAdapter<ArticleInfo, LayoutDoctorManagementItemBinding>() {


    override fun onBindDefViewHolder(
        holder: BaseBindViewHolder<LayoutDoctorManagementItemBinding>,
        item: ArticleInfo?,
        position: Int
    ) {
        if (item == null) return
        holder.binding.apply {
            tvMessage.text = "图文问诊"

        }
    }

    override fun getViewBinding(
        layoutInflater: LayoutInflater,
        parent: ViewGroup,
        viewType: Int
    ): LayoutDoctorManagementItemBinding {
        return LayoutDoctorManagementItemBinding.inflate(layoutInflater, parent, false)
    }
}